package com.pmj.hospital.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pmj.hospital.vo.req.PageReqVO;
import lombok.Data;

import java.io.Serializable;

/**
 * 就诊记录表
 *
 * @author 庞明杰
 * @date 2020-06-01
 */
@Data
@TableName("his_medical_record")
public class HisMedicalRecordEntity extends PageReqVO implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 就诊记录表ID
	 */
	@TableId("id")
	private String id;

	/**
	 * 创建时间
	 */
	@TableField("create_datetime")
	private String createDatetime;

	/**
	 * 主诉
	 */
	@TableField("condition_description")
	private String conditionDescription;

	/**
	 * 初步诊断结果
	 */
	@TableField("diagnosis_result")
	private String diagnosisResult;

	/**
	 * 药物总费用
	 */
	@TableField("drug_cost")
	private Double drugCost;

	/**
	 * 医嘱
	 */
	@TableField("medical_order")
	private String medicalOrder;

	/**
	 * 处方
	 */
	@TableField("prescription")
	private String prescription;

	/**
	 * 处方号
	 */
	@TableField("prescription_num")
	private String prescriptionNum;

	/**
	 * 挂号记录表ID
	 */
	@TableField("register_id")
	private String registerId;


	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCreateDatetime() {
		return createDatetime;
	}

	public void setCreateDatetime(String createDatetime) {
		this.createDatetime = createDatetime;
	}

	public String getConditionDescription() {
		return conditionDescription;
	}

	public void setConditionDescription(String conditionDescription) {
		this.conditionDescription = conditionDescription;
	}

	public String getDiagnosisResult() {
		return diagnosisResult;
	}

	public void setDiagnosisResult(String diagnosisResult) {
		this.diagnosisResult = diagnosisResult;
	}

	public Double getDrugCost() {
		return drugCost;
	}

	public void setDrugCost(Double drugCost) {
		this.drugCost = drugCost;
	}

	public String getMedicalOrder() {
		return medicalOrder;
	}

	public void setMedicalOrder(String medicalOrder) {
		this.medicalOrder = medicalOrder;
	}

	public String getPrescription() {
		return prescription;
	}

	public void setPrescription(String prescription) {
		this.prescription = prescription;
	}

	public String getPrescriptionNum() {
		return prescriptionNum;
	}

	public void setPrescriptionNum(String prescriptionNum) {
		this.prescriptionNum = prescriptionNum;
	}

	public String getRegisterId() {
		return registerId;
	}

	public void setRegisterId(String registerId) {
		this.registerId = registerId;
	}
}
